<?php

$aBaseClasses = get_declared_classes();

require_once 'Clouseau/Genealogy/Classes.php';
require_once 'Clouseau/Genealogy/Tree/Exporter/Dot.php';


$oDotExporter = new Clouseau_Genealogy_Tree_Exporter_Dot();
$oTree = new Clouseau_Genealogy_Classes;
$oTree->build($aBaseClasses);

$sDotLang = $oDotExporter->export($oTree);
echo $sDotLang;
file_put_contents('dot.txt', $sDotLang);


?>
